package com.keyleaf.up.document.handler;



import com.keyleaf.up.document.model.OfficeConfig;

import java.io.InputStream;
import java.util.function.Consumer;

/**
 * compressed file to pdf
 *
 * @author keyleaf
 * @since 2025/5/30
 **/
public class ZipToPdfHandler extends AbstractDocumentToPdfHandler {

    {
        supportedMimeTypes.add("application/zip");
    }

    public ZipToPdfHandler(OfficeConfig officeConfig) {
        super(officeConfig);
    }

    @Override
    public void handle(InputStream inputStream, Consumer<InputStream> consumer) throws Exception {
        throw new UnsupportedOperationException("暂不支持");
    }
}
